package com.ysx;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @USER: ysx
 * @CREATE: 2021/4/20 18:42
 */
public class Test {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);
		System.out.println(context.getBean(TestService.class));
	}

}
